<?php include_once('../layouts/header.php') ?>
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',split:true,border:false">
        <div class="container">
            <fieldset><legend><code>日期时间 date</code></legend></fieldset>
            <form id="form-date"
             data-options="
                form:{
                    url:'/data/index.php?type=test',
                    id:'#form-date',
                },
             ">
                <div class="easyui-calendar"></div>
                <div class="form-box sm-form">
                    <div class="form-item">
                        <div class="form-input">
                            <input class="easyui-datebox" style="width:100%"
                             data-options="
                                required:true,
                                prompt:'日期',
                                format:'yyyy-MM-dd',
                                showClear:true,
                                ">
                        </div>
                    </div>
                    <div class="form-item">
                        <div class="form-input">
                            <input class="easyui-datebox" sharedCalendar="#sc">
                            <input class="easyui-datebox" sharedCalendar="#sc">
                            <div id="sc" class="easyui-calendar"></div>
                        </div>
                    </div>
                    <div class="form-item">
                        <div class="form-input">
                            <input class="easyui-datetimebox" style="width:100%"
                             data-options="
                                required:true,
                                prompt:'日期时间',
                                format:'yyyy-MM-dd hh:mm:ss.S',
                                showClear:true,
                                ">
                        </div>
                    </div>
                    <div class="form-item">
                        <div class="form-input">
                            <input class="easyui-timespinner" required="required"
                             data-options="
                                width:'100%',
                                min:'08:30',
                                showSeconds:true,
                                showClear:true,
                             ">
                        </div>
                    </div>
                </div>
                <button type="button" class="btn btn-primary btn-block" onclick="$.submitForm(this)">保存</button>
            </form>
        </div>
    </div>
</div>

<?php include_once('../layouts/footer.php') ?>